package com.pig4cloud.mall.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 产品满减表(只针对同商品)
 *
 * @author fangyu
 * @date 2020-12-26 19:40:58
 */
@Data
@TableName("pms_product_full_reduction")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "产品满减表(只针对同商品)")
public class ProductFullReduction extends Model<ProductFullReduction> {
private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId
    @ApiModelProperty(value="")
    private Long id;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private Long productId;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private BigDecimal fullPrice;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private BigDecimal reducePrice;
    }
